package com.km.team.phsystem.dao.mybatis;

import com.km.team.phsystem.beans.pojo.TemporaryAppointment;
import com.km.team.phsystem.beans.pojo.TemporaryAppointmentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TemporaryAppointmentMapper {
    long countByExample(TemporaryAppointmentExample example);

    int deleteByExample(TemporaryAppointmentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TemporaryAppointment record);

    int insertSelective(TemporaryAppointment record);

    List<TemporaryAppointment> selectByExample(TemporaryAppointmentExample example);

    TemporaryAppointment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TemporaryAppointment record, @Param("example") TemporaryAppointmentExample example);

    int updateByExample(@Param("record") TemporaryAppointment record, @Param("example") TemporaryAppointmentExample example);

    int updateByPrimaryKeySelective(TemporaryAppointment record);

    int updateByPrimaryKey(TemporaryAppointment record);
}